@echo off
CD "C:/UniServer/www/mtb/modules/mod_sevent_lastevents/development"
RM mod_sevent_lastevents.zip
MKDIR mod_sevent_lastevents
XCOPY /E ".\..\tmpl" ".\mod_sevent_lastevents\tmpl\"
XCOPY /E ".\..\language" ".\mod_sevent_lastevents\language\"
XCOPY /E ".\..\assets" ".\mod_sevent_lastevents\assets\"
XCOPY /Y ".\..\*.*" ".\mod_sevent_lastevents\"

7z.exe a mod_sevent_lastevents.zip mod_sevent_lastevents

RMDIR /S/Q mod_sevent_lastevents
